package com.shenzhenai.it_hei_ma.a04threadmethod1;

/**
 * @author huangzehui
 * @date 2025/8/27 12:43 周三
 * @description
 */
public class MyThread extends Thread {

    @Override
    public void run() {
        for (int i = 0; i < 100; i++) {
            try {
                Thread.sleep(1000);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
            System.out.println(getName()+"@"+i);
        }
    }
}
